<div id="login">
  <h2><%= t 'devise.invitations.edit.header' %></h2>

  <%= active_admin_form_for(resource, as: resource_name, url: invitation_path(resource_name), html: { method: :put }) do |f|
    f.inputs do
      f.input :password
      f.input :password_confirmation
      f.input :invitation_token, as: :hidden, input_html: { value: resource.invitation_token }
    end
    f.actions do
      f.action :submit, label: t('devise.invitations.edit.submit_button'), button_html: { value: t('devise.invitations.edit.submit_button') }
    end
  end
  %>
</div>
